package com.legendshop.oa.dao;

import java.util.List;

import com.legendshop.dao.GenericDao;
import com.legendshop.oa.model.City;
import com.legendshop.oa.model.KeyValueEntity;

public interface CityDao extends GenericDao<City, Integer> {

	List<KeyValueEntity> getCitiesList(Integer provinceid);

	List<City> getCityByProvinceid(Integer provinceid);

	void deleteCityByProvinceid(Integer id);

	void deleteCity(Integer id);

	void updateCity(City city);

	List<City> getCityByName(String cityName); 

}
